package net.oschina.app.protocol.me.collectprotocol;


import net.oschina.app.bean2.CollectBean;
import net.oschina.app.protocol.AccessProtocol;
import net.oschina.app.protocol.AccessService;

import retrofit2.Call;

/**
 * Created by Shinelon on 2017/1/15.
 */

public class CollectTopicProtocol extends AccessProtocol<CollectBean> {

    @Override
    protected void callNet(AccessService accessService) {
        Call<CollectBean> call = accessService.getfavorite2();
        call.enqueue(callback);
    }
}
